package com.rainwood.water_authority.http.response;

import java.util.List;

/**
 * @auther : hhx
 * @date :  2021/3/18
 * @des :
 */

public class ShouLiaoListBean {

    /**
     * code : 1
     * data : {"info":{"id":"b0tn55z0q330","orderNo":"PB-2021-0001-01-W-R","name":"测试项目","date":"2021-02-19"},"record":[{"id":"xe865k1ttq8h","num":"5.000","planNum":"15.000","material":{"code":"002","name":"测试材料","model":"CS2","unit":"件"},"source":"inventoryMx"}],"direction":"收料"}
     * warn : success
     */

    private Integer code;
    private DataBean data;
    private String warn;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getWarn() {
        return warn;
    }

    public void setWarn(String warn) {
        this.warn = warn;
    }

    public static class DataBean {
        /**
         * info : {"id":"b0tn55z0q330","orderNo":"PB-2021-0001-01-W-R","name":"测试项目","date":"2021-02-19"}
         * record : [{"id":"xe865k1ttq8h","num":"5.000","planNum":"15.000","material":{"code":"002","name":"测试材料","model":"CS2","unit":"件"},"source":"inventoryMx"}]
         * direction : 收料
         */

        private InfoBean info;
        private List<RecordBean> record;
        private String direction;
          private String source;

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public InfoBean getInfo() {
            return info;
        }

        public void setInfo(InfoBean info) {
            this.info = info;
        }

        public List<RecordBean> getRecord() {
            return record;
        }

        public void setRecord(List<RecordBean> record) {
            this.record = record;
        }

        public String getDirection() {
            return direction;
        }

        public void setDirection(String direction) {
            this.direction = direction;
        }

        public static class InfoBean {
            /**
             * id : b0tn55z0q330
             * orderNo : PB-2021-0001-01-W-R
             * name : 测试项目
             * date : 2021-02-19
             */

            private String id;
            private String orderNo;
            private String name;
            private String date;
            private String direction;
            private String source;

            public String getSource() {
                return source;
            }

            public void setSource(String source) {
                this.source = source;
            }

            public String getDirection() {
                return direction;
            }

            public void setDirection(String direction) {
                this.direction = direction;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }
        }


        public static class RecordBean {
            /**
             * id : xe865k1ttq8h
             * num : 5.000
             * planNum : 15.000
             * material : {"code":"002","name":"测试材料","model":"CS2","unit":"件"}
             * source : inventoryMx
             */

            private String id;
            private String num;
            private String planNum;
            private MaterialBean material;
            private String source;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getPlanNum() {
                return planNum;
            }

            public void setPlanNum(String planNum) {
                this.planNum = planNum;
            }

            public MaterialBean getMaterial() {
                return material;
            }

            public void setMaterial(MaterialBean material) {
                this.material = material;
            }

            public String getSource() {
                return source;
            }

            public void setSource(String source) {
                this.source = source;
            }

            public static class MaterialBean {
                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getModel() {
                    return model;
                }

                public void setModel(String model) {
                    this.model = model;
                }

                public String getUnit() {
                    return unit;
                }

                public void setUnit(String unit) {
                    this.unit = unit;
                }

                /**
                 * code : 002
                 * name : 测试材料
                 * model : CS2
                 * unit : 件
                 */

                private String code;
                private String name;
                private String model;
                private String unit;
            }
        }
    }
}
